<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>
		<script src="${contextPath}/resource/js/menu.js"></script>
		
		
	<script language="javascript" type="text/javascript">
	</script>
	</head>

	<body>
		<table class="menu_table">
			<tr><th>机构管理</th></tr>
		</table>
		<div class="listtable">
		<div class="secondDiv">
		<table class="data_js_table" id="js_table">
			<tr>
				<th width="15%">机构名称</th>
				<th width="15%">级别</th>
				<th width="15%">机构编号</th>
				<th>操作</th>
			</tr>
			<s:iterator value="listTagency" var="agy">
				<tr>
					<td class="VTSMA">
					<a href="agencyAction_view.do?suprOrgNo=${agy.orgNo}"><s:property value="#agy.orgNm" /></a></td>
					<td><s:property value="#agy.orgRnk" /></td>
					<td><s:property value="#agy.orgNo" /></td>
					<td>
						<s:if test="buttonGrpMap['view']">
							<a href="agencyAction_add.do?suprOrgNo=${agy.orgNo}" title="新增">
								<img src="${contextPath}/resource/img/ico/addlist.png" class="edit_style" align="middle" alt="新增"></img>
							</a>
						</s:if>
						<s:if test="buttonGrpMap['edit']">
							&nbsp;|&nbsp;
							<a href="agencyAction_edit.do?agency.orgNo=${agy.orgNo}" title="修改">
								<img src="${contextPath}/resource/img/ico/edit.png" class="edit_style" align="middle" alt="修改"></img>
							</a>
						</s:if>	
						<s:if test="buttonGrpMap['delete']">
							&nbsp;|&nbsp;
							<a href="javascript:void(0)" onclick="isPost('确认删除?','agencyAction_delete.do?agency.orgNo=${agy.orgNo}')" title="删除">
								<img src="${contextPath}/resource/img/ico/delete.png" class="delete_style" align="middle" alt="删除"></img>
							</a>
						</s:if>	
					</td>
				</tr>
			</s:iterator>
			<s:if test="listTagency.size == 0"><tr><td colspan="4"><font color="#ff00ff" size="3">暂无数据</font></td></tr></s:if>
		</table>
		<table class="button_table">
				<tr>
					<td style="text-align: left">
						<div>
							<s:if test="buttonGrpMap['add']">
								<input type="button" class="add_organ_style" align="middle" onclick="javascript:location='agencyAction_add.do?suprOrgNo=0'" value="" ></input>
							</s:if>	
						</div>
					</td>
				</tr>
			</table>
		</div>
		</div>
	</body>
</html>
